#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<math.h>
typedef struct stackdata
{
	int data;
}sdata;

typedef struct llists
{
	struct stackdata *data;
	struct llists *next;
}llist;

typedef struct astacks
{
	int n,top;
	int *m;
}astack;

int lspush(llist **head,sdata *data)
{
	if(head

int main()
{
	int i,j;

